package com.example.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;

/**
 * @ClassName PersonMapper
 * @Description
 * @Author Yin
 * @Date 2021/4/8 16:06
 * @Version 1.0
 */
@Component
public interface PersonMapper {
    @Select("select * from tblorder limit 10")
    List<HashMap<String,Object>> getOrders();
}
